import Link from "next/link";

export default function LinkCard({
  children,
  path,
}: {
  children: React.ReactNode;
  path: string;
}) {
  return (
    <Link
      href={path}
      className="p-4 rounded-md border-1 border-[#ffffff10] inline-block flex-1 shrink-0  cursor-pointer h-full bg-[#ffffff10] w-full min-w-0 hover:border-green-400"
    >
      {children}
    </Link>
  );
}
